package model.kml;

public class PolyStyle implements GeometryStyle {
	
	public static final String NORMAL_COLOR_MODE = "normal";
	public static final String RANDOM_COLOR_MODE = "random";
	
	private String color;
	private String colorMode;
	private Boolean fill = true;
	private Boolean outline = true;
	
	public PolyStyle(String color, String colorMode){
		this.color = color;
		this.colorMode = colorMode;
	}
	
	@Override
	public String toString(){
		return "<PolyStyle>\n" +
				"<color>"+this.color+"</color>\n" +
				"<colorMode>"+this.colorMode+"</colorMode>\n" +
				"</PolyStyle>\n";
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getColorMode() {
		return colorMode;
	}

	public void setColorMode(String colorMode) {
		this.colorMode = colorMode;
	}

	public Boolean getFill() {
		return fill;
	}

	public void setFill(Boolean fill) {
		this.fill = fill;
	}

	public Boolean getOutline() {
		return outline;
	}

	public void setOutline(Boolean outline) {
		this.outline = outline;
	}
	
}
